package com.hq.fxh.No5_User.MyModle.Activity.item;

public class BooleanUtils {
    public static boolean intToBool(int value){
        if(value == 1){
            return true;
        }else{
            return false;
        }
    }

    public static int BoolToInt(boolean flag){
        if(flag){
            return 1;
        }else{
            return 0;
        }
    }
}
